<div id="menu_wrapper" ng-init="menu_template_src = '/admin/templates/includes/menu.html'" ng-include src="menu_template_src"></div>
<div id="sub_menu_wrapper" ng-init="sub_menu_template_src = '/admin/templates/includes/submenu.html'" ng-include src="sub_menu_template_src"></div>
<div id="container">
    <div id="form_container">
        <form  id="add_article"  action="{{action_url}}"  enctype="multipart/form-data" method="POST">
            <div class="left">
                    <label>{{translations['Title']}}</label>
                    <input type="text" name="title" value="{{edit.title}}">
                    <label>{{translations['Short description']}}</label>
                    <textarea name="short_description" cols="50" rows="10">{{edit.short_description}}</textarea>
                    <label>{{translations['Description']}}</label>
                    <textarea name="description" cols="50" rows="10">{{edit.description}}</textarea>


            </div>
            <div class="left tags">

                    <label>{{translations['Tags']}}</label>
                    <textarea name="tags" cols="50" rows="10">{{edit.tags}}</textarea>

                <label>{{translations['Image']}}</label>
                <input type="file" name="image" value="{{translations['Choose file']}}">

                <label>{{translations['Select category']}}</label>
                    <select name="category">
                        <option value="">{{translations['Select']}}</option>
                        <option  ng-repeat="item in categories" value="{{item._id}}"  selected="{{item.selected}}">{{item.title}}</option>
                    </select>
                    <label>{{translations['You tube']}}</label>
                    <input type="text" name="youtube" value="{{edit.youtube}}">
                    <input type="hidden" name="id" value="{{edit._id}}">
                    <input type="hidden" name="redirect" value="{{redirect}}" />
            </div>
            <div class="clear"></div>
            <button id="submit_article" class="blackglossyCSSButtonbutton" ng-click="save()">{{translations['Submit']}}</button>
        </form>
    </div>
</div>

